TOrderedArray< T > Class Template Reference
[Template Containers]

Ordered Array container template. More...

#include <tarray.h>

Inheritance diagram for TOrderedArray< T >:
Inheritance graph
[legend]

Public Member Functions

 TOrderedArray (int32 initSize=0, int32 delta=TArrayBase< T >::kDefaultDelta)
 TOrderedArray (const TOrderedArray< T > &a)
 TOrderedArray (const TContainer< T > &c)
virtual TContainer< T > * newInstance () const
virtual int32 index (const T &t) const
virtual int32 shouldGo (const T &t) const

Detailed Description

template<class T>
class Steinberg::TOrderedArray< T >

Ordered Array container template.

This class always adds items sorted.

See also:
TArray, TSortableArray, TArrayIterator

Constructor & Destructor Documentation

TOrderedArray ( int32  initSize = 0,
int32  delta = TArrayBase<T>::kDefaultDelta 
) [inline]
TOrderedArray ( const TOrderedArray< T > &  a  )  [inline]
TOrderedArray ( const TContainer< T > &  c  )  [inline]

Member Function Documentation

virtual TContainer<T>* newInstance (  )  const [inline, virtual]

Create a copy of this container.

Implements TContainer< T >.

virtual int32 index ( const T &  t  )  const [inline, virtual]

Get index of item.

Implements TArrayBase< T >.

virtual int32 shouldGo ( const T &  t  )  const [inline, virtual]

Get index for potential item.

Implements TArrayBase< T >.

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Empty

Copyright ©2013 Steinberg Media Technologies GmbH. All Rights Reserved.